export default {
  path: "/enquiry",
  redirect: "/enquiry/index",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "询价管理",
    rank: 18
  },
  children: [
    {
      path: "/enquiry/index",
      name: "index",
      component: () => import("@/views/enquiry/index.vue"),
      meta: {
        title: "询价单管理",
        roles: ["customer"]
      }
    },
    {
      path: "/enquiry/list",
      name: "enquirylist",
      component: () => import("@/views/enquiry/EnquiryList.vue"),
      meta: {
        title: "客户询价",
        roles: ["admin", "saleman", "customer"],
        showParent: true
      }
    },
    {
      path: "/enquiry/add",
      name: "addenquriy",
      component: () => import("@/views/enquiry/AddEnquiry.vue"),
      meta: {
        title: "添加询价",
        showParent: true,
        roles: ["customer"]
      }
    },
    {
      path: "/enquiry/detail",
      name: "detail",
      component: () => import("@/views/enquiry/entquiryDetail.vue"),
      meta: {
        title: "询价详情",
        showParent: true,
        roles: ["customer"]
      }
    }
  ]
} satisfies RouteConfigsTable;
